package com.etoak.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 医生描述
 */
@Data
@TableName("registration_doctor")
public class Doctor {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @NotBlank(message = "医生name不能为空")
    private String name;
    @NotBlank(message = "医生部门department不能为空")
    private String department;
    @NotBlank(message = "医生标题title不能为空")
    private String title;

    private String pic;
}
